import os
from scrapy.cmdline import execute
import sys

sys.path.append(os.path.dirname(os.path.abspath(__file__)))
# execute(['scrapy', 'crawl', 'huaxia'])
spiders = [
    'scrapy crawl csrc',
    'scrapy crawl fenghuang',
    'scrapy crawl finance',
    'scrapy crawl sse',
    'scrapy crawl szse',
    'scrapy crawl stcn',
    'scrapy crawl huaxia'
]

if __name__ == "__main__":
    execute("scrapy crawlall".split())
